CC=gcc
CFLAGS= -Wall -O -g


OBJ= pointadd.o

TARGET= a.out

all: ${TARGET}
${TARGET} : ${OBJ}
	${CC} -o $@ $^

.PHONY: clean

pointadd.o: pointadd.c
	$(CC) $(CFLAGS) -c $< -o $@



clean:
	rm -f $(OBJ)